html, body {
    height: 100%;
    margin: 0;
    overflow: hidden; /* 禁止全局滚动条 */
}

body {
    margin: 0;
    padding: 0;
    background: #f5f5f5;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.nav {
    height: 80px;
    background-color: rgb(50, 50, 50);
    color: rgb(255, 255, 255);
    display: flex;
    align-items: center;
    padding-left: 20px;
}

.login-container {
    height: calc(100vh - 60px);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 60px;
}

.login-dialog {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 350px;
}

.login-dialog h3 {
    text-align: center;
    color: #333;
    margin-bottom: 30px;
    font-size: 24px;
    font-weight: 400;
}

.row {
    margin-bottom: 20px;
}

.row span {
    display: block;
    color: #666;
    margin-bottom: 8px;
    font-size: 14px;
}

input {
    width: 100%;
    height: 40px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 0 12px;
    font-size: 14px;
    box-sizing: border-box;
}

input:focus {
    border-color: #07c160;
    outline: none;
}

button {
    width: 100%;
    height: 44px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
}

#submit {
    background-color: #07c160;
    color: white;
}

#submit:hover {
    background-color: #06ad56;
}

#registerSubmit {
    background: none;
    border: 1px solid #07c160;
    color: #07c160;
    margin-top: 15px;
}

#registerSubmit:hover {
    background-color: rgba(7, 193, 96, 0.05);
}

.cover {
    width: 100%;
    height: 100%;
    background-image: url(../image/Default.jpg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;

    /*让cover和div重合*/
    position: absolute;
    top: 0;
    left: 0;

    z-index: -1;

    /*使背景图模糊*/
    filter: blur(0px);
}
